package org.lemon.cla.dto.request;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import org.lemon.cla.enums.FeedbackTypeEnum;

@Data
@Schema(description = "应用反馈更新请求对象")
public class FeedbackUpdateRequest {

    @Schema(description = "反馈类型", example = "错误", allowableValues = {"错误", "建议", "投诉", "其他"})
    private FeedbackTypeEnum feedbackType;

    @NotBlank(message = "反馈内容不能为空")
    @Schema(description = "反馈内容", example = "夜间模式字体显示不清晰，请改进。", required = true)
    private String content;

    @Schema(description = "联系方式", example = "test@example.com")
    private String contact;
    // status, reply, reply_time 不应通过此接口更新
}